package com.hqx.oop.constructor;

public class Person {
    private String name;
    private  int age;

    public Person() {}

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Person(String name) {
    }

    public String getInfo() {
        return "Name:"+name+"\nAge="+age;
    }

}
